<?php load_header() ?>

<section id="">
    <div class="container">
		<div class="section-heading scrollpoint sp-effect3">
            <h1>Register new account</h1>
            <div class="divider"></div>

            <div>
                <label><?php echo anchor('user/sign_in', 'Have an account, sign in?') ?></label>
            </div>

            <div style="margin: 10px auto; max-width: 400px" class="section-heading">

                <?php echo validation_errors(); ?>

                <?php echo form_open('user/perform_register', 'class="text-left" role="form" '); ?>
                    <div class="form-group">
                        <?php echo form_input('firstname', '', 'class="form-control" placeholder="Firstname"') ?>
                        <?php echo form_error('firstname'); ?>
                    </div>
                    <div class="form-group">
                        <?php echo form_input('lastname', '', 'class="form-control" placeholder="Lastname"') ?>
                    </div>
                    <div class="form-group">
                        <?php echo form_input('username', '', 'class="form-control" placeholder="Username"') ?>
                    </div>
                    <div class="form-group">
                        <label class="radio-inline">
                            <?php echo form_radio('gender', '1') ?> Female
                        </label>
                        <label class="radio-inline">
                            <?php echo form_radio('gender', '2') ?> Male
                        </label>
                    </div>
                    <div class="form-group">
                        <?php echo form_input('email', '', 'class="form-control" placeholder="Email"') ?>
                    </div>
                    <div class="form-group">
                        <?php echo form_input('phone_number', '', 'class="form-control" placeholder="Phone Number"') ?>
                    </div>
                    <div class="form-group">
                        <?php echo form_password('password', '', 'class="form-control" placeholder="Password"') ?>    
                    </div>
                    <div class="form-group">
                        <?php echo form_password('re_password', '', 'class="form-control" placeholder="Re-Password"') ?> 
                    </div>
                    <div class="form-group">                      
                        <?php echo form_submit('submit', 'Register', 'class="btn btn-primary"') ?>
                    </div>
                <?php echo form_close();?>
            </div>

        </div>
	</div>
</section>


<?php load_content_footer() ?>

<?php #this page is closed by this footter ?>
<?php load_footer() ?>